<%-- 
    Document   : arclist
    Created on : 2014-4-4, 14:00:35
    Author     : lcfgly
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@page trimDirectiveWhitespaces="true" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html>
<html lang="zh-CN">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta http-equiv="X-UA-Compatible" content="IE=Edge" />
        <title>${userinfo.users.uname}  渔具价格，渔具报价</title>
        <%@include file="/WEB-INF/jspf/view/css.jspf" %>
    </head>
    <body style="padding-top:50px;min-width:900px;">
        <jsp:include page="/header/${userinfo.users.uid}.html" />
        <div class="bodyinfo">
            <div class="container contentbody">
                <!--中部-->
                    <!--中部左侧-->
                    <%@include file="left.jspf" %>
                    <!--中部左侧-->
                    <!--中部右侧-->
                    <div class="col-md-9 marginbottom10" style="padding-right: 0px">
                        <div class="titleline">
                            新闻列表<span class="pull-right">更多>></span>
                        </div>
                        <div class="bgwhite">
                            <c:if test="${empty list.data}">
                                <div class="alert alert-warning nomargin">
                                    暂无新闻
                                </div>
                            </c:if>
                            <ul class="nomargin newslist">
                                <c:forEach items="${list.data}" var="item">
                                    <li><a href="<c:url value="/shopnewshow/${userinfo.users.uid}/${item.id}.html" />">${item.title}</a><span class="pull-right"><fmt:formatDate pattern="yyyy-MM-dd" value="${item.updatetime}" /></span></li>
                                        </c:forEach>
                            </ul>
                            <c:if test="${info.page.lastpage > 1}">
                                <div class="col-md-12 bgwhite text-center">
                                    <ul class="pagination">
                                        <c:if test="${info.page.nowpage > 1}">
                                            <li><a href="<c:url value="/shopnews/${userinfo.users.uid}/${nowitem}/${info.page.firstpage}.html" />">首页</a></li>
                                            </c:if>
                                            <c:if test="${info.page.uppage > 1}">
                                            <li><a href="<c:url value="/shopnews/${userinfo.users.uid}/${nowitem}/${info.page.uppage}.html" />">&laquo;</a></li>
                                            </c:if>
                                            <c:forEach var="item" items="${info.page.page}">
                                            <li><a href="<c:url value="/shopnews/${userinfo.users.uid}/${nowitem}/${item}.html" />">${item}</a></li>
                                            </c:forEach>
                                            <c:if test="${info.page.downpage > info.page.lastpage}">
                                            <li><a href="<c:url value="/shopnews/${userinfo.users.uid}/${nowitem}/${info.page.downpage}.html" />">&raquo;</a></li>
                                            </c:if>
                                            <c:if test="${info.page.lastpage > 1}">
                                            <li><a href="<c:url value="/shopnews/${userinfo.users.uid}/${nowitem}/${info.page.lastpage}.html" />">末页</a></li>
                                            </c:if>
                                    </ul>
                                </div>
                            </c:if>
                        </div>
                    </div>
                    <!--end中部右侧-->
                <!--end中部-->  
            </div>
                 <%@include file="/WEB-INF/jspf/view/foot.jspf" %>
        </div>
        <%@include file="/WEB-INF/jspf/view/js.jspf" %>
    </body>
</html>
